package com.googlecode.layout4j.parser;

/**
 * Prevents "static final" fields getting inlined into client code.
 * This can cause compatibility problems if the values change in future.
 * 
 * @author Matt Humphreys
 * @see <a href="http://www.javaworld.com/community/node/3400">Edge cases with constants</a>
 */
public class ConstantsUtil {
	
	/**
	 * Prevents "static final" fields getting inlined into client code.
	 * This can cause compatibility problems if the values change in future.
	 * @return the same object that was passed as a parameter, unmodified.
	 */
	static String dontInline(String string) {
		return string;
	}
}
